const PanelInfoConfig = {
  guanyu: {
    ttlName: "name",
    // 灌区类型、灌区面积、干渠长度、最大引水能力
    attrs: [
      {
        text: "灌区类型",
        unit: "",
        key: "type"
      },
      {
        text: "灌区面积",
        unit: "万亩",
        key: "irrigatedArea"
      },
      {
        text: "干渠长度",
        unit: "km",
        key: "trunkLegth"
      },
      {
        text: "最大引水能力",
        unit: "m³/s",
        key: "maxWaterDiversionCapacity"
      }
    ]
  },
  irrArea: {},
  'zuzhi@1': {
    ttlName: "manageName",
    // 编码、灌区面积、干渠长度、最大引水能力、年平均引水能力
    attrs: [
      {
        text: "编码",
        unit: "",
        key: "manageCode"
      },
      {
        text: "灌区面积",
        unit: "万亩",
        key: "irrigatedArea"
      },
      {
        text: "干渠长度",
        unit: "km",
        key: "canalLength"
      },
      {
        text: "最大引水能力",
        unit: "m³/s",
        key: "maxWaterDiversionCapacity"
      },
      {
        text: "年平均引水能力",
        unit: "亿m³",
        key: "annulWaterDiversionCapacity"
      }
    ]
  },
  'zuzhi@2': {
    ttlName: "manageName",
    // 编码、控制灌溉面积、管理渠道长度、所在地、受益单位
    attrs: [
      {
        text: "编码",
        unit: "",
        key: "manageCode"
      },
      {
        text: "控制灌区面积",
        unit: "万亩",
        key: "irrigatedArea"
      },
      {
        text: "管理渠道长度",
        unit: "km",
        key: "canalLength"
      },
      {
        text: "所在地县乡名称",
        unit: "",
        key: "county",
        colspan: 2
      },
      {
        text: "受益单位",
        unit: "",
        key: "benefitDistrict",
        colspan: 3
      }
    ]
  },
  office: {},
  station: {},
  ganqu: {
    ttlName: "canalName",
    // 编码、长度、灌溉面积、设计供水能力、实际供水能力、年均引水量、引水水源
    attrs: [
      {
        text: "长度",
        unit: "km",
        key: "length"
      },
      {
        text: "灌区面积",
        unit: "万亩",
        key: "irrigatedArea"
      },
      {
        text: "设计供水能力",
        unit: "m³/s",
        key: "Designed_Capacity"
      },
      {
        text: "实际供水能力",
        unit: "m³/s",
        key: "Actual_Capacity"
      },
      {
        text: "年均引水量",
        unit: "亿m³",
        key: "Annul_Water_Diversion_Capacity"
      },
      {
        text: "引水水源",
        unit: "",
        key: "irrSource"
      }
    ]
  },
  paishuigou: {
    ttlName: "drainageName",
    // 编码、管理单位、级别、现状排水能力、控制灌溉面积、长度、穿越形式、汇入河（沟）
    attrs: [
      {
        text: "编码",
        unit: "",
        key: "drainageCode"
      },
      {
        text: "管理单位",
        unit: "",
        key: "manageCode"
      },
      {
        text: "级别",
        unit: "",
        key: "type"
      },
      {
        text: "现状排水能力",
        unit: "m³/s",
        key: "actualDrainageCapacity"
      },
      {
        text: "长度",
        unit: "km",
        key: "length"
      },
      {
        text: "控制排灌面积",
        unit: "万亩",
        key: "controllingIrrigatedArea"
      },
      {
        text: "穿越形式",
        unit: "",
        key: "crossType"
      },
      {
        text: "汇入河（沟）名称",
        unit: "",
        key: "insertRiver"
      }
    ]
  },
  jinshuizha: {
    ttlName: "name",
    // 编码、桩号、控制灌溉面积、闸门尺寸、孔数、闸门类型、启闭形式
    attrs: [
      {
        text: "编码",
        unit: "",
        key: "strobeCode"
      },
      {
        text: "桩号",
        unit: "",
        key: "coordinate"
      },
      {
        text: "控制灌区面积",
        unit: "万亩",
        key: "controllingIrrigatedArea"
      },
      {
        text: "闸门尺寸",
        unit: "m*m",
        key: "size"
      },
      {
        text: "孔数",
        unit: "",
        key: "strobeNumber"
      },
      {
        text: "闸门类型",
        unit: "",
        key: "type"
      },
      {
        text: "启闭形式",
        unit: "",
        key: "powerType"
      }
    ],
    // monitor: [
    //   {
    //     text: "闸前水位",
    //     unit: "m",
    //     key: "heightUp"
    //   },
    //   {
    //     text: "闸后水位",
    //     unit: "m",
    //     key: "heightDown"
    //   },
    //   {
    //     text: "流量",
    //     unit: "m³/s",
    //     key: "flux"
    //   }
    // ]
  },
  tuishuizha: {},
  jiezhizha: {},
  zyzm: {},
  zhikaikou: {
    ttlName: "watergateCode",
    // 编码、桩号、控制灌溉面积、闸门尺寸、孔数、支渠长度
    attrs: [
      {
        text: "编码",
        unit: "",
        key: "strobeCode"
      },
      {
        text: "桩号",
        unit: "",
        key: "coordinate"
      },
      {
        text: "控制灌溉面积",
        unit: "亩",
        key: "controllingIrrigatedArea"
      },
      {
        text: "闸门尺寸",
        unit: "m*m",
        key: "size"
      },
      {
        text: "孔数",
        unit: "",
        key: "strobeNumber"
      },
      {
        text: "支渠长度",
        unit: "km",
        key: "canalLength"
      }
    ]
  },
  bengzhan: {
    ttlName: "pumpName",
    // 编码、桩号、净扬程、台数、设计流量合计、控制灌溉面积、干渠长度
    attrs: [
      {
        text: "编码",
        unit: "",
        key: "pumpCode"
      },
      {
        text: "桩号",
        unit: "",
        key: "coordinate"
      },
      {
        text: "净扬程",
        unit: "m",
        key: "deadLift"
      },
      {
        text: "台数",
        unit: "",
        key: "setNumber"
      },
      {
        text: "设计流量合计",
        unit: "m³/s",
        key: "designMostFlux"
      },
      {
        text: "控制灌溉面积",
        unit: "万亩",
        key: "controllingIrrigatedArea"
      },
      {
        text: "干渠长度",
        unit: "km",
        key: "canalLength"
      }
    ]
  },
  bengzhan2: {},
  zybz: {},
  handong: {
    ttlName: "culvertName",
    // 编码、桩号、实际过水能力、结构形式 、长度、孔数
    attrs: [
      {
        text: "编码",
        unit: "",
        key: "culvertCode"
      },
      {
        text: "桩号",
        unit: "",
        key: "coordinate"
      },
      {
        text: "实际过水能力",
        unit: "m³/s",
        key: "actualCapacity"
      },
      {
        text: "结构形式",
        unit: "",
        key: "structure"
      },
      {
        text: "长度",
        unit: "m",
        key: "length"
      },
      {
        text: "孔数",
        unit: "",
        key: "strobeNumber"
      }
    ]
  },
  ducao: {
    ttlName: "flumeName",
    attrs: []
  },
  dieshui: {
    ttlName: "dropName",
    // 编码、桩号、实际过水能力、跌差
    attrs: [
      {
        text: "编码",
        unit: "",
        key: "dropCode"
      },
      {
        text: "桩号",
        unit: "",
        key: "coordinate"
      },
      {
        text: "实际过水能力",
        unit: "m³/s",
        key: "actualCapacity"
      },
      {
        text: "跌差",
        unit: "m",
        key: "dropDiffer"
      }
    ]
  },
  yiliuyan: {
    ttlName: "name",
    // 编码、桩号、实际溢流能力
    attrs: [
      {
        text: "编码",
        unit: "",
        key: "code"
      },
      {
        text: "桩号",
        unit: "",
        key: "coordinate"
      },
      {
        text: "实际溢流能力",
        unit: "m³/s",
        key: "actualCapacity"
      }
    ]
  },
  qiaoliang: {
    ttlName: "bridgeName",
    // 编码、桩号、结构形式 、宽、长、孔数
    attrs: [
      {
        text: "编码",
        unit: "",
        key: "bridgeCode"
      },
      {
        text: "桩号",
        unit: "",
        key: "coordinate"
      },
      {
        text: "结构形式",
        unit: "",
        key: "type"
      },
      {
        text: "宽",
        unit: "m",
        key: "width"
      },
      {
        text: "长",
        unit: "m",
        key: "length"
      },
      {
        text: "孔数",
        unit: "",
        key: "strobeNumber"
      }
    ]
  },
  shanhonggou: {
    ttlName: "floodName",
    // 编码、管理单位、桩号、流域面积、穿（入）渠形式 、排（入）沟（渠、库）、最大洪峰流量
    attrs: [
      {
        text: "编码",
        unit: "",
        key: "floodCode"
      },
      {
        text: "管理单位",
        unit: "",
        key: "manageCode"
      },
      {
        text: "位于干渠桩号",
        unit: "",
        key: "coordinate"
      },
      {
        text: "流域面积",
        unit: "km²",
        key: "floodArea"
      },
      {
        text: "最大洪峰流量",
        unit: "m³/s",
        key: "maxFlow"
      },
      {
        text: "穿（入）渠形式",
        unit: "",
        key: "crossArea"
      },
      {
        text: "排（入）沟（渠、库）名称",
        unit: "",
        key: "rowArea"
      }
    ]
  },
  zhihongqu: {
    ttlName: "detentionName",
    // 编码、管理单位、桩号、实际库容、实际泄洪能力、来洪沟道名称
    attrs: [
      {
        text: "编码",
        unit: "",
        key: "detentionCode"
      },
      {
        text: "管理单位",
        unit: "",
        key: "manageCode"
      },
      {
        text: "位于干渠桩号",
        unit: "",
        key: "coordinate"
      },
      {
        text: "实际库容",
        unit: "万m³",
        key: "actualStorage"
      },
      {
        text: "实际泄洪能力",
        unit: "m³/s",
        key: "actualDischarge"
      },
      {
        text: "来洪沟道名称",
        unit: "",
        key: "inFloodName"
      }
    ]
  },
  hd: {
    ttlName: "stadiaName",
    // 断面编码、桩号、零点高程、断面形式、最大水位、设计流量、测流形式
    //     Stadia_Code, 测站编码
    // Stadia_Name, 测站名
    // rvnm, 河流名称
    // hnnm, 水系名称
    // bsnm, 流域名称
    // stlc, 站址
    // addvcd, 行政区划码
    // locality, 交换管理单位
    // admauth, 信息管理单位
    attrs: [
      {
        text: "测站编码",
        unit: "",
        key: "stadiaCode"
      },
      {
        text: "河流名称",
        unit: "",
        key: "rvnm"
      },
      {
        text: "水系名称",
        unit: "",
        key: "hnnm"
      },
      {
        text: "流域名称",
        unit: "",
        key: "bsnm"
      },
      {
        text: "站址",
        unit: "",
        key: "stlc"
      },
      {
        text: "信息管理单位",
        unit: "",
        key: "admauth"
      },
      {
        text: "交换管理单位",
        unit: "",
        key: "locality"
      }
    ],
    monitor: [
      {
        text: "水位",
        unit: "m",
        key: "waterHeight"
      },
      {
        text: "流量",
        unit: "m³/s",
        key: "flux"
      }
    ]
  },
  yz: {},
  hh: {},
  skswz: {},
  gqdm: {},
  zygq: {},
  shg: {},
  psg: {},
  zypsg: {},
  ylz: {},
  cyylz: {},
  sqz: {},
  db: {
    ttlName: "wiustNm",
    attrs: [
      {
        text: "取用水测站代码",
        unit: "",
        key: "wiustCd"
      },
      {
        text: "取用水测站类别",
        unit: "",
        key: "wiustTp"
      },
      // {
      //   text: "基面类型",
      //   unit: "",
      //   key: "datTp"
      // },
      // {
      //   text: "基面高程",
      //   unit: "",
      //   key: "datElev"
      // },
      // {
      //   text: "修正基值",
      //   unit: "",
      //   key: "modBasVal"
      // },
      // {
      //   text: "修正参数",
      //   unit: "",
      //   key: "modPara"
      // },
      {
        text: "设站年月",
        unit: "",
        key: "estStYm"
      },
      {
        text: "运行状况",
        unit: "",
        key: "runCond"
      },
      {
        text: "所在地",
        unit: "",
        key: "loc"
      }
    ],
    monitor: [
      {
        text: "日取水量",
        unit: "m³",
        key: "dayW"
      },
      {
        text: "流量",
        unit: "m³/s",
        key: "mpQ"
      }
    ]
  },
  dx: {},
  gy: {},
  ny: {},
  sh: {},
  gyjc: {
    ttlName: "wiuNm",
    attrs: [
      {
        text: "取用水户代码",
        unit: "",
        key: "wiuCd"
      },
      {
        text: "责任人姓名",
        unit: "",
        key: "lrNm"
      },
      {
        text: "取用类别",
        unit: "",
        key: "wiuTp"
      },
      {
        text: "地址",
        unit: "",
        key: "addr"
      }
    ],
    monitor: [
      {
        text: "日取水量",
        unit: "m³",
        key: "dayW"
      },
      {
        text: "流量",
        unit: "m³/s",
        key: "mpQ"
      }
    ]
  },
  nyjc: {},
  shjc: {},
  hhjc: {},
  zlqsk: {
    ttlName: "qsdwmc",
    attrs: [
      {
        text: "取水水源类型",
        unit: "",
        key: "qssylx"
      },
      {
        text: "取水水源名称",
        unit: "",
        key: "qssymc"
      },
      {
        text: "取水用途",
        unit: "",
        key: "qsyt"
      },
      {
        text: "取水地点",
        unit: "",
        key: "qsdd"
      },
      {
        text: "最大取水流量",
        unit: "m³/s",
        key: "zdqsll"
      },
      {
        text: "年最大取水量",
        unit: "万m³/a",
        key: "nzdqsl"
      },
      {
        text: "审批年取水量",
        unit: "m³/a",
        key: "spnqsl"
      }
    ]
  },
  qdlqsk: {
    ttlName: "qsdwmc",
    attrs: [
      {
        text: "取水水源类型",
        unit: "",
        key: "qssylx"
      },
      {
        text: "取水用途",
        unit: "",
        key: "qsyt"
      },
      {
        text: "取水地点",
        unit: "",
        key: "qsdd"
      },
      {
        text: "最大取水流量",
        unit: "m³/s",
        key: "zdqsll"
      },
      {
        text: "年最大取水量",
        unit: "万m³/a",
        key: "nzdqsl"
      },
      {
        text: "审批年取水量",
        unit: "m³/a",
        key: "spnqsl"
      }
    ]
  },
  bzlqsk: {},
  sjlqsk: {
    ttlName: "qsdwmc",
    attrs: [
      {
        text: "取水水源类型",
        unit: "",
        key: "qssylx"
      },
      {
        text: "取水水源名称",
        unit: "",
        key: "qssymc"
      },
      {
        text: "取水用途",
        unit: "",
        key: "qsyt"
      },
      {
        text: "取水地点",
        unit: "",
        key: "qsdd"
      },
      {
        text: "最大取水流量",
        unit: "m³/s",
        key: "zdqsll"
      },
      {
        text: "年最大取水量",
        unit: "万m³/a",
        key: "nzdqsl"
      },
      {
        text: "井深最小值",
        unit: "",
        key: "jsmin"
      },
      {
        text: "井深最大值",
        unit: "",
        key: "jsmax"
      },
      {
        text: "审批年取水量",
        unit: "m³/a",
        key: "spnqsl"
      }
    ]
  },
  blqsk: {
    ttlName: "qsdwmc",
    attrs: [
      {
        text: "取水水源类型",
        unit: "",
        key: "qssylx"
      },
      {
        text: "取水用途",
        unit: "",
        key: "qsyt"
      },
      {
        text: "取水地点",
        unit: "",
        key: "qsdd"
      },
      {
        text: "正常蓄水位",
        unit: "m",
        key: "zcxsw"
      },
      {
        text: "正常蓄水位库容",
        unit: "万m³",
        key: "zcxswkr"
      },
      {
        text: "总库容",
        unit: "万m³",
        key: "zkr"
      },
      {
        text: "审批年取水量",
        unit: "m³/a",
        key: "spnqsl"
      }
    ]
  },
  sdzlqsk: {},
  qtlqsk: {
    ttlName: "qsdwmc",
    attrs: [
      {
        text: "运行状态",
        unit: "",
        key: "yxzt"
      },
      {
        text: "取水水源类型",
        unit: "",
        key: "qssylx"
      },
      {
        text: "取水用途",
        unit: "",
        key: "qsyt"
      },
      {
        text: "取水地点",
        unit: "",
        key: "qsdd"
      },
      {
        text: "取水审批机关",
        unit: "",
        key: "qsspjg"
      },
      {
        text: "取水权人名称",
        unit: "",
        key: "qsqrmc"
      },
      {
        text: "审批年取水量",
        unit: "m³/a",
        key: "spnqsl"
      }
    ]
  },
  gyysdw: {
    ttlName: "name",
    attrs: [
      {
        text: "单位性质",
        unit: "",
        key: "unitType"
      },
      {
        text: "水源类型",
        unit: "",
        key: "sourceType"
      },
      {
        text: "取水方式",
        unit: "",
        key: "useType"
      },
      {
        text: "批准年取水量",
        unit: "",
        key: "applyAmout",
        colspan: 2
      },
      {
        text: "取水地点",
        unit: "",
        key: "useLocate",
        colspan: 3
      },
      {
        text: "详细地址",
        unit: "",
        key: "address",
        colspan: 3
      }
    ]
  },
  shuilishuniu: {
    ttlName: "名称",
    attrs: [
      {
        text: "对应引水干渠",
        unit: "",
        key: "对应引水干"
      },
      {
        text: "干渠最大引水量",
        unit: "",
        key: "干渠最大引"
      },
      {
        text: "建设年代",
        unit: "",
        key: "建设年代"
      },
      {
        text: "所在市县名",
        unit: "",
        key: "所在市县名"
      },
      {
        text: "发电机组数",
        unit: "",
        key: "发电机组数"
      },
      {
        text: "装机容量",
        unit: "kw",
        key: "装机容量（"
      }
    ]
  },
  kanghanjijing: {
    ttlName: 'JZWMC',
    attrs: []
  },
  shuichang: {
    ttlName: 'objectName',
    attrs: []
  },
  pumpsh: {
    ttlName: 'objname',
    attrs: []
  },
  tiaoxuchi: {}
};

PanelInfoConfig.irrArea = PanelInfoConfig.guanyu;
PanelInfoConfig.office = PanelInfoConfig['zuzhi@1'];
PanelInfoConfig.station = PanelInfoConfig['zuzhi@2'];
PanelInfoConfig.tuishuizha = PanelInfoConfig.jinshuizha;
PanelInfoConfig.jiezhizha = PanelInfoConfig.jinshuizha;
PanelInfoConfig.zyzm = {
  ...PanelInfoConfig.jinshuizha,
  ttlName: 'watergateCode',
  monitor: [
    {
      text: "闸前水位",
      unit: "m",
      key: "heightUp"
    },
    {
      text: "闸后水位",
      unit: "m",
      key: "heightDown"
    }
  ]
};
PanelInfoConfig.bengzhan2 = PanelInfoConfig.bengzhan;
PanelInfoConfig.zybz = {
  ...PanelInfoConfig.bengzhan,
  monitor: [
    {
      text: "流量",
      unit: "m³/s",
      key: "instanFlow"
    }
  ]
};
PanelInfoConfig.ducao.attrs = PanelInfoConfig.handong.attrs;
PanelInfoConfig.yz = PanelInfoConfig.hd;
PanelInfoConfig.hh = PanelInfoConfig.hd;
PanelInfoConfig.skswz = {
  ...PanelInfoConfig.hd,
  monitor: [
    {
      text: "水位",
      unit: "m",
      key: "rz"
    },
    {
      text: "流量",
      unit: "m³/s",
      key: "flux"
    }
  ]
};
PanelInfoConfig.gqdm = PanelInfoConfig.hd;
PanelInfoConfig.zygq = PanelInfoConfig.hd;
PanelInfoConfig.shg = PanelInfoConfig.hd;
PanelInfoConfig.psg = PanelInfoConfig.hd;
PanelInfoConfig.zypsg = PanelInfoConfig.hd;
PanelInfoConfig.ylz = {
  ...PanelInfoConfig.hd,
  monitor: [
    {
      text: "时段降水量",
      unit: "mm",
      key: "drp"
    },
    {
      text: "日降水量",
      unit: "mm",
      key: "dyp"
    }
  ]
};
PanelInfoConfig.cyylz = PanelInfoConfig.ylz;
PanelInfoConfig.sqz = {
  ...PanelInfoConfig.hd,
  monitor: [
    {
      text: "10cm深度含水率",
      unit: "%",
      key: "slm10"
    },
    {
      text: "40cm深度含水率",
      unit: "%",
      key: "slm40"
    }
  ]
};
PanelInfoConfig.dx = PanelInfoConfig.db;
PanelInfoConfig.gy = PanelInfoConfig.db;
PanelInfoConfig.ny = PanelInfoConfig.db;
PanelInfoConfig.sh = PanelInfoConfig.db;
PanelInfoConfig.nyjc = PanelInfoConfig.gyjc;
PanelInfoConfig.shjc = PanelInfoConfig.gyjc;
PanelInfoConfig.hhjc = PanelInfoConfig.gyjc;
PanelInfoConfig.bzlqsk = PanelInfoConfig.qdlqsk;
PanelInfoConfig.sdzlqsk = PanelInfoConfig.blqsk;
PanelInfoConfig.tiaoxuchi = PanelInfoConfig.shuichang;

export default PanelInfoConfig;
